home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
COMM
/
QMLOG100.ARJ
/
QMLOG.DOC
next >
Wrap
Text File
|
1991-03-18
|
13KB
|
367 lines
QMLog -- QM Log File Report Generator v1.0
George Peace 1:270/101@fidonet
March, 1991
QMLog reads log files generated by Greg Dawson's QM program (all
versions through 1.23/beta) and generates up to five reports that
tell tales about mail processing.
The QMLog program is entirely command line driven <!>...
QMLog <Logfile> [-a<AreasFile>] [-d<c|n>] [-f<?>] [-h]
[-i<HistoryFile] [-k] [-l<HistoryFile>] [-m<MsgDir>]
[-n[<p|d|i|n|o|0]>] [-o<OutputFile>] [-r[<dnrtz>]]
[-s[<n|a|d|i|0>]] [-u<from_name>] [-w] [-x<to_name>]
[-z#] [-t<title...>]
Dash (-) or slash (/) can be used interchangably. Upper or lower
case is accepted for all switches.
<LogFile>
Identifies QM log file(s) to process. Wildcard notation can be
used. Log files is processed in the order found. The data is
accumulated in chronological order. The default specification
QM.LOG is used when none is provided. When provided, the logfile
specification must be the first item on the command line
following the program name.
-a<AreasFile>
Identifies Areas.Bbs format file(s) QMLog will process for use in
the Runtime and Zero traffic reports. Wildcard notation can be
used. The default specification AREAS.BBS is used if -a is not
provided.
-d<c|n>
Defines Duplicate report display order. The report can be
displayed in <C>ount or <N>ode number sequence. The default is
<N>ode number sequence.
-f?
Filler / separator character for Network address, Duplicate, and
Traffic reports. The default is space.
-h
Display command line switches/options. If this switch is
used on the command line QMLog exits after displaying command
line help.
-i<HistoryFile>
Input data from history file(s) rather than from raw QM log
file(s). Wildcard notation can be used. The default history file
is QMLog.Dat.
-k
Directs QMLog to delete QM log file(s) after processing has been
completed. Only QM log files identified on the QMLog command line
will be deleted. QMLog history files are not affected by this
switch.
-l<HistoryFile>
Write condensed log data to a history file. Data is written as
a series of comma-delimited records such that QMLog can use the
history file(s) to reproduce all reports. The default history
file is QMLog.Dat. If the history file already exists new data
will be appended to the file. History sessions are separated by
a blank line.
-m<MessageDirectory>
This switch tells QMLog to generate all requested reports as a
series of messages in the named subdirectory. A trailing
backslash is optional and will be assumed present if not
provided. This switch overrides the default destination of
QMLog.Rpt (see -o). The -o switch can be used with -m to direct
output to both message and file destinations. Large reports are
split into multiple messages as required.
-n<p|d|i|n|o|0>
Defines the display sequence of the Network address distribution
report. Only one sequence can be specified:
p by cumulative packet size (default).
d by number of duplicate echomail messages.
i by cumulative count of inbound echomail messages.
n by network address (zone:net/node order).
o by cumulative count of outbound echomail messages. see (-w).
This display sequence should be used only when all QM
executions are one-pass (toss scan).
0 Display all data as accumulated from selected log file(s).
-o<OutputFile>
This switch tells QMLog to generate all requested reports in the
specified file. If neither -o nor -m is secified QMLog generates
all requested reports to QMLog.Rpt. -o and -m can be used
together to generate output to both file and message
destinations.
-r<dnrtzx>
Identifies the type of data to accumulate and report(s) generated
by QMLog. The default is to generate all reports. If -r is
provided only the specified report types will be generated.
d Duplicate echomail report.
n Network address (inbound) distribution report.
r Runtime summary report.
t Echomail conference traffic report.
z Zero traffic report.
x No reports
-s<n|a|d|i|0>
Defines the display sequence of the echomail conference Traffic
report. Only one sequence can be specified:
n by echomail conference name (default).
a by average number of echomail messages received.
d by number of duplicate echomail messages.
i by cumulative count of inbound echomail messages.
0 Display all data as accumulated from selected log file(s).
-u<your_name_here>
Up to 35 chars to use in message "from" field if -m message
output is requested. Underscores are replaced by spaces.
-w
This switch generates an additional column of data in the Network
address distribution report. Outbound echomail message counts are
reported.
-x<destination_name_here>
Up to 35 chars to use in message "to" field if -m message output
is requested. Underscores are replaced by spaces.
-z#
Defines the "zero" value for the Zero trafic report. All echomail
conferences with inbound traffic at or below the number provided
will be reported in the Zero traffic report. The default is 0.
-t<variable title data>
The remainder of the command line is used as the report header.
This must be the last item on the command line.
Execution examples:
Generate daily QM statistics. The first execution generates
a standard set of reports (the default) in d:\sysopfil\ps_stats.dly
and in message subdirectory v:\ps_daily. The second execution
generates only the Duplicate report in message subdirectory
v:\protosta. The filler character is specified as a period.
QMLog o:\qm.log -ao:\backbone.bbs -od:\sysopfil\ps_stats.dly -mv:\ps_daily -tProtoStar -- 1:13/13 -- Daily Summary
QMLog o:\qm.log -mv:\protosta -rd -f.
Generate weekly QM statistics. All QM log files matching the
wildcard filespec h:\logs\qm_log.* are processed. Reports are
generated as a text file in d:\sysopfil\ps_stats.rpt and as
a series of messages v:\ps_weekl.
QMLog h:\logs\qm_log.* -ao:\backbone.bbs -od:\sysopfil\ps_stats.rpt -mv:\ps_weekl -tProtoStar -- 1:13/13 -- Weekly Summary
Generate history files for subsequent -i processing.
QMLog QM_Log.001 -lQM_Hist.001 -rx
QMLog QM_Log.002 -lQM_Hist.002 -rx
Process history files created by multiple data collection runs.
QMLog -iQM_Hist.*
----------
Capacities
----------
QMLog will accept up to 4000 unique echomail conference names,
2000 unique network addresses, and 365 days of QM log file data.
-------
Reports
-------
Runtime statistics:
(1) EchoMail Processing Log of Activity for 1:13/13
(2) Titles Look Like This
Runtime Statistics
==================
(3) Period: 1991-02-13 to 1991-02-13
Inbound compressed mail: 3926934 bytes (183 bundles)
Inbound packets: 9036272 bytes (916 packets)
Inbound echomail: 8532
(4) Outbound echomail [log]: 76266
Inbound:Outbound ratio [log]: 1:8.9
(5) Outbound echomail [calc]: 206944
Inbound:Outbound ratio [calc]: 1:24.3
Duplicate echomail: 59
Inbound netmail: 287
Outbound netmail: 41
Number of runs: 360
(6) Total processing time: 7.6 hours
Toss-only time: 1.5 hours
Scan-only time: 1.1 hours
Toss-Scan time: 0 seconds
(1) The address is extracted from the QM log file(s) as the
destination address that occurred most frequently in
packets processed.
(2) The title was generated from the QMLog command line:
QMLog ... -tTitles Look Like This
(3) The execution period is extracted from QM begin entries in
the QM log file(s).
(4) The first set of outbound values are exactly as extracted
from the QM log. Values reported by at least one QM beta
version are not accurate when the exit after MaxMsgs option
is used. (SCAN without PACK)
(5) The second set of outbound values are calculated from the
inbound echomail count and Areas.Bbs distribution lists. This
second set offers a best guess of outbound numbers based on
logged inbound echomail and the current Areas.Bbs
configuration.
(6) Processing times are reported according to characteristics of
session data in the QM log file(s). QM does not log specific
runtime information by function so values other than Total
processing time are best guesses.
Inbound Distribution Statistics:
Inbound Distribution Statistics
===============================
Period: 1991-02-13 to 1991-02-13
NET ADDRESS PACKETS ECHO IN DUPES NET IN TRAFFIC
================ ============ ======== ======== ======== ========
1:396/1 937494 923 0 28 10.37%
...
local/unk 0 0 0 0 0.00%
TOTALS: 9036272 8532 59 287 100.00%
Data is accumulated according to the Origin address in .Pkts
during TOSS operations. The local/unk line is a "none of the
above" category for situations where the origin address is not
reported in the QM log file(s).
Duplicate statistics:
Duplicate Statistics
====================
Period: 1991-02-13 to 1991-02-13
0:1/217 PERFECT_MACRO 1
0:260/620 SF 1
0:268/202 ATARI 5 GAMING 2 RECFRP 11
0:269/201 AMY_TECH 1 AUTOMOTIVE 1 C_ECHO 1
DOORWARE 1 FDECHO 1 FOR-SALE 2
SFFAN 1 HDCONF 1
...
TOTAL: 59
Duplicate counts by echomail conference for each address are
accumulated from TOSS operation log entries. No analysis is done
on actual message content and no blame is implied by this
information display.
Traffic report:
EchoMail Traffic
================
Period: 1991-02-13 to 1991-02-13
AREA NAME TOTAL AVERAGE DUPES MAX/DAY MIN/DAY TRAFFIC
======================== ======= ======= ======= ======= ======= =======
12_STEPS 20 20 0 20 20 0.23%
4DOS 12 12 0 12 12 0.14%
4MODSONLY 4 4 0 4 4 0.05%
...
ZZYZX 3 3 0 3 3 0.04%
ALL AREAS 8532 8532 59 100.00%
! = duplicate (in 24 areas)
# = no inbound traffic but local or duplicate traffic exists (in 3 areas)
Information is extracted from TOSS log entries. MAX/DAY and
MIN/DAY values are based on the number of dates appearing in the
QM log file(s) processed. The ALL AREAS AVERAGE value is
calculated by dividing ALL AREAS TOTAL by the number of dates.
Zero Traffic:
Zero Traffic Summary
====================
Period: 1991-02-13 to 1991-02-13
161 of 591 areas had no traffic during the report period.
ABORTION ACE ADHD AFI_BETA
ALL_CHARGE AMIGA_DESKTOP AMIGA_MUSIC AMIGA_PERFECT
...
ZCC ZONEGATE ZOOM
Rather than clutter the Traffic report with additional lines, all
areas with zero traffic (see -z switch) are collected and
displayed for information and review.
-------------------
History File Format
-------------------
History files contain as many as 4 record types. The first field
is the type indicator. Fields are comma-delimited.
Id...
0,
history version,
run date,
QMLog version
Date array...
1,
run date,
begin time,
end time,
echomail toss count,
echomail scan count,
echomail duplicate count,
archived mail bytes,
number of archived mail bundles,
number of packet bytes,
number of packets,
seconds of run time,
number of individual executions,
received netmail,
sent netmail,
seconds of toss only,
seconds of scan only,
seconds of toss/scan
Node array...
2,
address as z:n/n,
echomail toss count,
echomail scan count,
echomail duplicate count,
archived mail bytes,
number of archived mail bundles,
number of packet bytes,
number of packets,
outbound bytes,
received netmail,
sent netmail
[,area_name,
dupe_count...]
Area array
3,
area name,
echomail toss count,
echomail scan count,
echomail duplicate count
[,toss max per day...]